package com.nageoffer.shortlink.project.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_link_goto")
public class ShortLinkGotoDO {
    /**
     * ID
     * 数据库字段：id (bigint(20), 主键，自增)
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分组标识
     * 数据库字段：gid (varchar(32))
     */
    private String gid;

    /**
     * 完整短链接
     * 数据库字段：full_short_url (varchar(128))
     */
    private String fullShortUrl;
}
